<div class="example-wrapper">
    <div style="margin-bottom: 5px">
        <button onclick="expandAll()">Expand All</button>
        <button onclick="collapseAll()">Collapse All</button>
    </div>

    <div id="myGrid" class="ag-theme-quartz"></div>
</div>